/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.usc.ee.java;

/**
 *
 * @author zhouzhao
 */
public class wire {

    private int id;
    private int x;
    private int y;

    private int capacity;

    public wire(int id, int x, int y){
        this.id = id;
        this.x = x;
        this.y = y;
        this.capacity = 0;
    }

    public int getid(){
        return this.id;
    }

    public int getx(){
        return this.x;
    }

    public int gety(){
        return this.y;
    }

    public int getCapacity(){
        return this.capacity;
    }

    public void setCapacity(int capacity){
        this.capacity = capacity;
    }


    @Override
    public String toString(){
        return "Wire"+id+"("+x+","+y+")";
    }

}
